package com.a;

import java.util.Scanner;

public class a {
    public static void main(String[] args) {
        //目标：方法定义完整格式
        //需求：进行两个整数求和

        Scanner d=new Scanner(System.in);
        System.out.println("请输入a的值");

        int a=d.nextInt();
        System.out.println("请输入b的值");
        int b=d.nextInt();
        int rs=sum(a,b);

        System.out.println(rs);

    }
    public static int sum(int a,int b)
    {
        int c=a+b;
        return c;

    }

}



